<?xml version="1.0" encoding="UTF-8"?>
<jsp:root version="1.2" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:ui="http://www.sun.com/web/ui">
    <jsp:directive.page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"/>
    <f:view>
        <ui:page binding="#{GerenciarTarefa.page1}" id="page1">
            <ui:html binding="#{GerenciarTarefa.html1}" id="html1">
                <ui:head binding="#{GerenciarTarefa.head1}" id="head1">
                    <script>
                      function initAllRows() {
                       var table = document.getElementById("form1:table1");
                       table.initAllRows();
                      }
                    </script>
                    <ui:link binding="#{GerenciarTarefa.link1}" id="link1" url="/resources/stylesheet.css"/>
                </ui:head>
                <ui:body binding="#{GerenciarTarefa.body1}" id="body1" style="-rave-layout: grid">
                    <ui:form binding="#{GerenciarTarefa.form1}" id="form1">
                        <div style="height: 98px; left: 0px; top: 0px; position: absolute; width: 758px">
                            <jsp:directive.include file="topo.jspf"/>
                        </div>
                        <div style="height: 454px; left: 0px; top: 104px; position: absolute; width: 206px">
                            <jsp:directive.include file="menu.jspf"/>
                        </div>
                        <div style="height: 38px; left: 4px; top: 560px; position: absolute; width: 758px">
                            <jsp:directive.include file="rodapev.jspf"/>
                        </div>
                        <ui:tabSet binding="#{GerenciarTarefa.tabSet1}" id="tabSet1" selected="tab1" style="height: 454px; left: 208px; top: 104px; position: absolute; width: 554px">
                            <ui:tab binding="#{GerenciarTarefa.tab1}" id="tab1" text="Escolha o projeto">
                                <ui:panelLayout binding="#{GerenciarTarefa.layoutPanel1}" id="layoutPanel1" style="border-width: 1px; background-color: rgb(211, 224, 235); border-left-color: rgb(110, 127, 143); border-right-color: rgb(110, 127, 143); border-bottom-color: rgb(110, 127, 143); border-left-style: solid; border-right-style: solid; border-bottom-style: solid; height: 415px; position: relative; width: 553px; -rave-layout: grid">
                                    <ui:button action="#{GerenciarTarefa.btnGerenciar_action}" binding="#{GerenciarTarefa.btnGerenciar}" id="btnGerenciar"
                                        style="height: 24px; left: 471px; top: 20px; position: absolute" text="Gerenciar"/>
                                    <ui:alert binding="#{GerenciarTarefa.alerta}" id="alerta" style="left: 8px; top: 360px; position: absolute; width: 537px"/>
                                    <ui:table augmentTitle="false" binding="#{GerenciarTarefa.table1}" id="table1" paginateButton="true"
                                        paginationControls="true" style="height: -16px; left: 8px; top: 52px; position: absolute; width: 538px"
                                        title="Meus Projetos" width="538">
                                        <ui:tableRowGroup binding="#{GerenciarTarefa.tableRowGroup1}" id="tableRowGroup1" rows="5"
                                            selected="#{GerenciarTarefa.selectedState}" sourceData="#{SessionBean1.listaDataSourceProjetoTarefa}" sourceVar="currentRow">
                                            <ui:tableColumn binding="#{GerenciarTarefa.tableColumn1}" id="tableColumn1" onClick="setTimeout(‘initAllRows()’,0)" selectId="#{GerenciarTarefa.radioButton1.id}">
                                                <ui:radioButton binding="#{GerenciarTarefa.radioButton1}" id="radioButton1" label=""
                                                    name="#{GerenciarTarefa.radioButton1.id}" selected="#{GerenciarTarefa.selected}" selectedValue="#{GerenciarTarefa.selectedValue}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{GerenciarTarefa.tableColumn2}" headerText="Nome" id="tableColumn2" sort="nome">
                                                <ui:staticText binding="#{GerenciarTarefa.staticText1}" id="staticText1" text="#{currentRow.value['nome']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{GerenciarTarefa.tableColumn3}" headerText="Data Final" id="tableColumn3" sort="dataPrevistaFim">
                                                <ui:staticText binding="#{GerenciarTarefa.staticText2}" id="staticText2" text="#{currentRow.value['dataPrevistaFim']}"/>
                                            </ui:tableColumn>
                                            <ui:tableColumn binding="#{GerenciarTarefa.tableColumn4}" headerText="Gestor" id="tableColumn4" sort="nomeRequerente">
                                                <ui:staticText binding="#{GerenciarTarefa.staticText3}" id="staticText3" text="#{currentRow.value['nomeRequerente']}"/>
                                            </ui:tableColumn>
                                        </ui:tableRowGroup>
                                    </ui:table>
                                    <ui:label binding="#{GerenciarTarefa.label1}" id="label1" style="left: 8px; top: 4px; position: absolute" text="Nome"/>
                                    <ui:textField binding="#{GerenciarTarefa.txtCriterio}" id="txtCriterio" style="height: 20px; left: 8px; top: 20px; position: absolute; width: 367px"/>
                                    <ui:button action="#{GerenciarTarefa.btnPesquisar_action}" binding="#{GerenciarTarefa.btnPesquisar}" id="btnPesquisar"
                                        primary="true" style="height: 24px; left: 387px; top: 20px; position: absolute" text="Pesquisar"/>
                                </ui:panelLayout>
                            </ui:tab>
                        </ui:tabSet>
                    </ui:form>
                </ui:body>
            </ui:html>
        </ui:page>
    </f:view>
</jsp:root>
